<template>
	<el-card shadow="hover" header="版本信息">
		<div style="height: 220px;text-align: center;">
			<img src="img/ver.svg" style="height:140px;margin-top: 20px"/>
			<p style="margin-top: 5px;">当前版本 {{$CONFIG.CORE_VER}}</p>
		</div>
	</el-card>
</template>

<script>
	export default {
		title: "版本信息",
		icon: "el-icon-monitor",
		description: "当前项目版本信息",
		data() {
			return {
				ver: 'loading...'
			}
		},
		mounted() {
			this.getVer()
		},
		methods: {
			async getVer(){
				// const ver = await this.$API.demo.ver.get()
				// this.ver = ver.data
			}
		}
	}
</script>
